package com.shihb.behavioralpatterns.commandpattern;/**
 *Description:
 *Version:1.0.0
 *@author shihb
 *@date 2020/7/25 20:30
 */
public class Light {
  public void on(){
    System.out.println("开灯");
  }
  public void off(){
    System.out.println("关灯");
  }
}
